  <tr valign="top">
    <td height="40" align="left" class="dato" background="/images/topHeader.gif" colspan="4">Apuestas</td>
  </tr>
    <tr>
     <td colspan="4" align="center" background="/images/vg.jpg"><span class="subdatos">Información de apuestas</span></td>
  </tr>
    <tr><td>&nbsp;</td></tr>

<table>
  <tr>
  </tr>

<% @bets.each do |bet| 
   @user = User.find(bet.user_idf) %>
  <tr>
	<td>
		<%= @user.login %>
	</td>
	<td>
		<%= @user.name %>
	</td>
	<td>
		<%= @user.lastname %>
	</td>	
	<td>
		<%= bet.ammount %>$
	</td>	


    <td><%= link_to 'Mostrar', bet %></td>
    <td><%= link_to 'Modificar', edit_bet_path(bet) %></td>
    <td><%= link_to 'Eliminar', bet, :confirm => 'Esta seguro?', :method => :delete %></td>
  </tr>
<% end %>
<tr><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td></tr>
<tr>
<td><%= link_to 'Nueva Apuesta', new_bet_path %></td>
</tr>
<tale>



